package edu.jamestang.yeb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import edu.jamestang.yeb.entity.Menu;

import java.util.List;

/**
 * @author JamesTang
 * @date 2021/12/13 23:20
 */
public interface MenuService extends IService<Menu> {

    /**
     * get menu list
     * @return menuList
     */
    List<Menu> getMenusByAdminId();

    /**
     * get menu list
     * @return menu list
     */
    List<Menu> getMenusByRole();

    /**
     * Get all menu
     * @return
     */
    List<Menu> getAllMenus();
}
